﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ICM_Bid.aspx.cs" Inherits="KPIS.GERP.GIMS.APP.APP_UI.Add_Form.ICM_Bid" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register TagPrefix="custom" Namespace="KPIS.Customs.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css">  
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" >
        </asp:ScriptManager>
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript" src="../../Scripts/Common.js"></script>
            <script type="text/javascript">
                var detail = 0;
                var item = 0;
                var committee = 0;
                var file = 0;
                
                function GetRadWindow() {
                    var oWindow = null;
                    if (window.radWindow)
                        oWindow = window.RadWindow; //Will work in Moz in all cases, including clasic dialog      
                    else if (window.frameElement.radWindow)
                        oWindow = window.frameElement.radWindow; //IE (and Moz as well)      
                    return oWindow;
                }

                function CloseWindow() {
                    GetRadWindow().Close();
                }
                
                function onTextChangeGeneral(sender) {
                    if (sender.get_value() == "") {
                        sender.set_text("");
                    }
                }
                
                function ChangeTab(value, page_index, validate) {
                    if (validate != "")
                    {
                        Page_ClientValidate();
                        if (Page_IsValid) {
                            if (value == "Detail") {
                                detail = 1;
                            }
                            if (value == "Committee") {
                                committee = 1;
                            }
                            if (value == "File") {
                                file = 1;
                            }
                            
                            var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
                            var pageView = $find("<%= RadMultiPage1.ClientID %>");
                            var tab = tabStrip.findTabByValue(value);
                            var pageViewIndex = page_index;
                            tab.set_selected(true);
                            pageView.get_pageViews().getPageView(pageViewIndex).set_selected(true);
                        }
                    }
                    else
                    {
                        if (value == "Detail") {
                            detail = 1;
                        }
                        if (value == "Committee") {
                            committee = 1;
                        }
                        if (value == "File") {
                            file = 1;
                        }
                        
                        var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
                        var pageView = $find("<%= RadMultiPage1.ClientID %>");
                        var tab = tabStrip.findTabByValue(value);
                        var pageViewIndex = page_index;
                        tab.set_selected(true);
                        pageView.get_pageViews().getPageView(pageViewIndex).set_selected(true);
                    }
                }
                
                function OnClientTabSelecting(sender, eventArgs) {
                    var value = eventArgs.get_tab().get_value();
                    if ((value == "Detail" && detail == 0)
                       || (value == "Committee" && committee == 0)
                       || (value == "File" && file == 0)
                    ) {
                        eventArgs.set_cancel(true);
                    }
                }
                
                function ShowCommitteeHistory(sender, Args) {
                    if (!sender._loaded) {
                        $find("<%=RadAjaxPanel1.ClientID %>").ajaxRequest();
                        sender._loaded = true;
                    }
                }
                
                function ShowFileHistory(sender, Args) {
                    if (!sender._loaded) {
                        $find("<%=RadAjaxPanel2.ClientID %>").ajaxRequest();
                        sender._loaded = true;
                    }
                }
                
                function getSourceFile() {
                    extArray = new Array(".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".rtf");
                    allowSubmit = false;
                    var file = document.getElementById('<%= attachment.ClientID %>');
                    var source_file = document.getElementById('<%= hdSourceFile.ClientID %>');
                    var div_part = document.getElementById('<%= uploadFile_div.ClientID %>');
                    value = file.value;
                    if (value.length == 0) {
                        return;
                    }
                    while (value.indexOf("\\") != -1) {
                        value = value.slice(value.indexOf("\\") + 1);
                    }
                    ext = value.slice(value.indexOf(".")).toLowerCase();
                    for (var i = 0; i < extArray.length; i++) {
                        if (ext.indexOf(extArray[i]) >= 0) {
                            allowSubmit = true; break;
                        }
                    }
                    if (allowSubmit) {
                        source_file.value = file.value;
                    }
                    else {
                        alert("ไฟล์เอกสารใช้ได้เฉพาะนามสกุล .doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf, .rtf เท่านั้น");
                        div_part.innerHTML = div_part.innerHTML;
                    }
                }
                
                function slideConfig(uniqudId, dir) {
                    var opposite = (dir == 'Down' ? 'Up' : 'Down');
                    
                    $telerik.$(".moduleDivSlimContent")["slide" + dir](300);
                    $telerik.$(".moduleDivSlimCollapsible span.configButton")
		                .removeClass("toggleUp")
		                .removeClass("toggleDown")
		                .addClass("toggle" + opposite);

                    $telerik.$(".moduleDivSlimCollapsible")[0].href = "javascript:slideConfig('" + uniqudId + "','" + opposite + "');";
                    $telerik.$("input[name='" + uniqudId + "']").val(dir == "Down" ? "true" : "false");
                }
                
                function ChangeReceiveFree(docAmount) {
                    var paneldocAmount = document.getElementById(docAmount);
                    paneldocAmount.style.visibility = "hidden";
                }
                
                function ChangeReceiveSell(docAmount) {
                    var paneldocAmount = document.getElementById(docAmount);
                    paneldocAmount.style.visibility = "visible";
                }
                
                
                Sys.Application.add_load(setCalendarTable);
                Sys.Application.add_load(setCalendarAnnounceTable);
                Sys.Application.add_load(setCalendarReceiveStartTable);
                Sys.Application.add_load(setCalendarReceiveEndTable);
                Sys.Application.add_load(setCalendarBuildTable);
                Sys.Application.add_load(setCalendarExplainTable);
                Sys.Application.add_load(setCalendarOfferStartTable);
                Sys.Application.add_load(setCalendarOfferEndTable);
                Sys.Application.add_load(setCalendarDiscloseTable);
                
                function setCalendarTable() {
                    var tooltip = $find("<%= ToolTipDate.ClientID %>");
                    var calendar = $find("<%= CalendarDate.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDate.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarAnnounceTable() {
                    var tooltip = $find("<%= ToolTipAnnounce.ClientID %>");
                    var calendar = $find("<%= CalendarAnnounce.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateAnnounce.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarReceiveStartTable() {
                    var tooltip = $find("<%= ToolTipReceiveStart.ClientID %>");
                    var calendar = $find("<%= CalendarReceiveStart.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateReceiveStart.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarReceiveEndTable() {
                    var tooltip = $find("<%= ToolTipReceiveEnd.ClientID %>");
                    var calendar = $find("<%= CalendarReceiveEnd.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateReceiveEnd.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarBuildTable() {
                    var tooltip = $find("<%= ToolTipBuild.ClientID %>");
                    var calendar = $find("<%= CalendarBuild.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateBuild.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarExplainTable() {
                    var tooltip = $find("<%= ToolTipExplain.ClientID %>");
                    var calendar = $find("<%= CalendarExplain.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateExplain.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarOfferStartTable() {
                    var tooltip = $find("<%= ToolTipOfferStart.ClientID %>");
                    var calendar = $find("<%= CalendarOfferStart.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateOfferStart.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarOfferEndTable() {
                    var tooltip = $find("<%= ToolTipOfferEnd.ClientID %>");
                    var calendar = $find("<%= CalendarOfferEnd.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateOfferEnd.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }
                
                function setCalendarDiscloseTable() {
                    var tooltip = $find("<%= ToolTipDisclose.ClientID %>");
                    var calendar = $find("<%= CalendarDisclose.ClientID %>");                       
                    var fastNavigation = calendar._getFastNavigation();
                    fastNavigation.OnToday =
                    function()
                    {
                        var today = new Date;
                        var date = [today.getFullYear(), today.getMonth()+ 1, today.getDate()];
                        calendar.selectDate(date, true);
                        fastNavigation.Popup.Hide();  
                        var all_date = date.toString().split(",");
                        var year = parseInt(all_date[0]) + 543;
                        var month = all_date[1];
                        var day = all_date[2];
                        if (day.length == 1) {
                            day = '0' + day;
                        }
                        if (month.length == 1) {
                            month = '0' + month;
                        }

                        var maskText = $find("<%= txtDateDisclose.ClientID %>");
                        maskText.set_value(day + month + year);
                        tooltip.hide();
                    }
                }

                function OnDateClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipDate.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDate.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateAnnounceClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipAnnounce.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateAnnounce.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateReceiveStartClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipReceiveStart.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateReceiveStart.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateReceiveEndClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipReceiveEnd.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateReceiveEnd.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                 function OnDateBuildClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipBuild.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateBuild.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                 function OnDateExplainClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipExplain.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateExplain.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateOfferStartClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipOfferStart.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateOfferStart.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateOfferEndClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipOfferEnd.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateOfferEnd.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnDateDiscloseClick(calendarInstance, args) {
                    var tooltip = $find("<%= ToolTipDisclose.ClientID %>");
                    var fastNavigation = calendarInstance._getFastNavigation();
                    var date = args.get_renderDay().get_date().toString();
                    var all_date = date.split(",");
                    var year = parseInt(all_date[0]) + 543;
                    var month = all_date[1];
                    var day = all_date[2];
                    if (day.length == 1) {
                        day = '0' + day;
                    }
                    if (month.length == 1) {
                        month = '0' + month;
                    }

                    var maskText = $find("<%= txtDateDisclose.ClientID %>");
                    maskText.set_value(day + month + year);
                    tooltip.hide();
                }
                
                function OnCalendarViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarDate_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarAnnounceViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarAnnounce_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarReceiveStartViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarReceiveStart_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarReceiveEndViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarReceiveEnd_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarBuildViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarBuild_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarExplainViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarExplain_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarOfferStartViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarOfferStart_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarOfferEndViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarOfferEnd_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
                
                function OnCalendarDiscloseViewChanged(sender, step) {
                    var year = parseInt(sender.FocusedDate[0]) + 543;
                    var month = sender.FocusedDate[1];
                    document.getElementById("CalendarDisclose_Title").innerHTML = changeMonthNumberToName(month) + " " + year; 
                } 
            </script>
        </telerik:RadCodeBlock>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None" Skin="Outlook">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxManager runat="server" ID="RadManager1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="nextButton_Item">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="nextButton_Item" />
                        <telerik:AjaxUpdatedControl ControlID="panel_Detail" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="nextButton_Detail">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="nextButton_Detail" />
                        <telerik:AjaxUpdatedControl ControlID="panel_Committee" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="backButton_Detail">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="backButton_Detail" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="nextButton_Committee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="nextButton_Committee" />
                        <telerik:AjaxUpdatedControl ControlID="panel_File" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="backButton_Committee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="backButton_Committee" />
                        <telerik:AjaxUpdatedControl ControlID="panel_Detail" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="backButton_File">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="backButton_File" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="finishButton_File">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="finishButton_File" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_Committee">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_Committee" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="panelCommand_File">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panel_File" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rblCommitteeType">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="panelInternal" LoadingPanelID="RadAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="panelExternal" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
    
        <asp:Panel ID="panelHidden" runat="server">
            <asp:HiddenField ID="hdSourceFile" runat="server" Value="" />
            <asp:HiddenField ID="hdYearType" runat="server" Value="" />
        </asp:Panel>
        
        <asp:Panel ID="panelAll" runat="server">
            <div class="exampleWrapper">
                <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" Skin="Vista" CssClass="multiPage" CausesValidation="false" OnClientTabSelecting="OnClientTabSelecting"> 
                    <Tabs>
                        <telerik:RadTab runat="server" Text="รายการพัสดุ" Value="Item" Selected="true" PageViewID="RadPageView1">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="ข้อมูลประกาศ" Value="Detail" PageViewID="RadPageView2">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="คณะกรรมการ" Value="Committee" PageViewID="RadPageView3">
                        </telerik:RadTab>
                        <telerik:RadTab runat="server" Text="เอกสารแนบ" Value="File" PageViewID="RadPageView4">
                        </telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView">
                    <telerik:RadPageView ID="RadPageView1" runat="server">
                        <asp:Panel ID="panel_Item" runat="server">
                            <table cellpadding="0" cellspacing="0" style="width: 98%;">
                                <tr valign="top">
                                    <td valign="top">
                                        <div align="left" class="bigModuleFull">
                                            <div class="bigModuleBottomFull">
                                                <asp:Panel ID="panel2" runat="server">
                                                    <div class="header-grid">
                                                        <asp:Label ID="Label5" runat="server" Text="ข้อมูลรายการพัสดุ"></asp:Label>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel CssClass="panelGrid" ID="panelGrid_Item" runat="server" ScrollBars="Auto" Visible="true">
                                                    <div align="left">
                                                        <telerik:RadGrid CssClass="RadGrid" ID="Grid_Item" runat="server" AllowFilteringByColumn="true"
                                                        AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True"
                                                        AutoGenerateColumns="False" EnableAJAX="True" ShowFooter="true"
                                                        GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%" AllowMultiRowEdit="True"
                                                        OnItemCommand="Grid_Item_ItemCommand" OnItemDataBound="Grid_Item_ItemDataBound">
                                                            <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                <Columns>
                                                                    <telerik:GridBoundColumn DataField="InfoExpense.Name"
                                                                        GroupByExpression="InfoExpense.Name Group By InfoExpense.Seq" Groupable="true" Visible="false"
                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                        FilterControlWidth="100%" HeaderText="รายจ่าย" 
                                                                        UniqueName="InfoExpense.Name">
                                                                        <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="InfoItem.Name" HeaderText="รายการ" 
                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                        FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" UniqueName="InfoItem.Name" SortExpression="Name">
                                                                        <HeaderStyle HorizontalAlign="Center" Width="200px" />
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="Descr" HeaderText="รายละเอียด" 
                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                        FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" UniqueName="Descr" SortExpression="Descr">
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridTemplateColumn DataField="Qty" UniqueName="Qty" HeaderText="จำนวน" AutoPostBackOnFilter="true" 
                                                                        CurrentFilterFunction="Contains" ShowFilterIcon="false" FilterControlWidth="100%">
                                                                        <ItemTemplate> 
                                                                            <asp:Label ID="lblQty" runat="server" Text='<%# Eval("Qty", "{0:N0}") %>'>
                                                                            </asp:Label> 
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" Width="80px" />
                                                                        <ItemStyle HorizontalAlign="Right" />
                                                                    </telerik:GridTemplateColumn>
                                                                    <telerik:GridBoundColumn DataField="InfoItem.InfoUnit.Name" HeaderText="หน่วย" 
                                                                        AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                        FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" UniqueName="InfoItem.InfoUnit.Name">
                                                                        <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                        <ItemStyle HorizontalAlign="Left" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridTemplateColumn DataField="Price" UniqueName="Price" HeaderText="ราคาต่อหน่วย(บาท)" AutoPostBackOnFilter="true" 
                                                                        CurrentFilterFunction="Contains" ShowFilterIcon="false" FilterControlWidth="100%">
                                                                        <ItemTemplate> 
                                                                            <asp:Label ID="lblPrice" runat="server" Text='<%# Eval("Price", "{0:N2}") %>'>
                                                                            </asp:Label> 
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                        <ItemStyle HorizontalAlign="Right" />
                                                                        <FooterStyle HorizontalAlign="Right" />
                                                                        <FooterTemplate>
                                                                            <asp:Label CssClass="font-label" ID="lblTotalPrice" runat="server" Width="100px" Font-Bold="true">
                                                                            </asp:Label>
                                                                        </FooterTemplate>
                                                                    </telerik:GridTemplateColumn>
                                                                    <telerik:GridBoundColumn DataField="InfoItem.Seq" 
                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoItem.Seq" Visible="false">
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="InfoExpense.Seq" 
                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="InfoExpense.Seq" Visible="false">
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="Seq" 
                                                                        HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                        Visible="false">
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                    </telerik:GridBoundColumn>
                                                                </Columns>
                                                            </MasterTableView>
                                                            <ClientSettings EnableRowHoverStyle="true" >
                                                                <Selecting AllowRowSelect="True" />
                                                            </ClientSettings>
                                                        </telerik:RadGrid>
                                                    </div>
                                                    <br />
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelTool_Item" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table width="98%">
                                                        <tr class="command-list">
                                                            <td align="right">
                                                                <asp:LinkButton ID="nextButton_Item" runat="server" CausesValidation="false" OnClick="nextButton_Item_Click"> 
                                                                    <img alt="" src="../Image/Button/next_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView2" runat="server">
                        <asp:Panel ID="panel_Detail" runat="server">
                            <table cellpadding="0" cellspacing="0" style="width: 98%;">
                                <tr valign="top">
                                    <td valign="top">
                                        <div align="left" class="bigModuleFull">
                                            <div class="bigModuleBottomFull">
                                                <asp:Panel ID="panelHeaderList" runat="server">
                                                    <div class="header-grid">
                                                        <asp:Label ID="lblHeaderList" runat="server" Text="ข้อมูลประกาศ"></asp:Label>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel ID="panelList_Detail" runat="server" CssClass="panelList" ScrollBars="Auto">
                                                    <custom:ConfiguratorPanel runat="server" ID="ConfiguratorPanel1" Title="รายละเอียดใบขอซื้อ/จ้าง" Width="98%">
                                                        <table width="98%">
                                                            <tr>
                                                                <td>
                                                                    <table width="98%">
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table width="100%">
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                <asp:Label CssClass="font-label" ID="lblYearType" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label CssClass="font-label" ID="lblBgmYear" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table width="100%">
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                ระเบียบการจัดหา :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label CssClass="font-label" ID="lblPcRule" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td width="20px">
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table width="100%">
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                ประเภท :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label CssClass="font-label" ID="lblPrType" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table width="100%">
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                เลขที่ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label CssClass="font-label" ID="lblPrRefNo" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table width="100%">
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                เรื่อง :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Label CssClass="font-label" ID="lblPrName" runat="server"></asp:Label> 
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </custom:ConfiguratorPanel>
                                                    <table cellpadding="0" cellspacing="0" width="98%">
                                                        <tr>
                                                            <td valign="top">
                                                                <div class="font-label">
                                                                    <table cellpadding="0" cellspacing="0" width="95%">
                                                                        <tr>
                                                                            <td width="30px">
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr class="font-label">
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                วันที่รายการ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <telerik:RadMaskedTextBox ID="txtDate" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="LinkButton">
                                                                                                    <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                </asp:LinkButton>
                                                                                                <telerik:RadToolTip ID="ToolTipDate" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                TargetControlID="LinkButton1" Modal="true">
                                                                                                    <telerik:RadCalendar id="CalendarDate" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                        <ClientEvents OnDateClick="OnDateClick" OnCalendarViewChanged="OnCalendarViewChanged"></ClientEvents>
                                                                                                        <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                    </telerik:RadCalendar>
                                                                                                </telerik:RadToolTip>
                                                                                                &nbsp;<label id="Label4" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr class="font-label">
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelValtxtDate" runat="server"></asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                ประกาศเลขที่ :
                                                                                            </td>
                                                                                            <td colspan="2">
                                                                                                <asp:TextBox ID="txtRefNo" runat="server" CssClass="TextBox" Width="300px"></asp:TextBox>
                                                                                                <label id="Label2" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr class="font-label">
                                                                                            <td>
                                                                                            </td>
                                                                                            <td colspan="2">
                                                                                                <asp:Panel ID="panelValtxtRefNo" runat="server"></asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                ประกาศเรื่อง :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:TextBox ID="txtName" runat="server" CssClass="TextBox" Width="700px"></asp:TextBox>
                                                                                                <label id="Label1" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr class="font-label">
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelValtxtName" runat="server"></asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr class="font-label">
                                                                                            <td width = "150px">
                                                                                                วิธีจำหน่ายเอกสาร :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:RadioButton ID="rdbFree" runat="server" GroupName="ReceiveType" Text="แจกฟรี" Checked="true" />
                                                                                                <asp:RadioButton ID="rdbSell" runat="server" GroupName="ReceiveType" Text="ขาย" />
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelDocAmount" runat="server">
                                                                                                    <table>
                                                                                                        <tr>
                                                                                                            <td>
                                                                                                                ชุดละ 
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                <telerik:RadNumericTextBox ID="txtDocAmount" runat="server" NumberFormat-GroupSeparator="," NumberFormat-DecimalDigits="0" Skin="Outlook" Width="50px">
                                                                                                                </telerik:RadNumericTextBox> 
                                                                                                            </td>
                                                                                                            <td>
                                                                                                                บาท
                                                                                                            </td>
                                                                                                        </tr>
                                                                                                    </table>
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr class="font-label">
                                                                                            <td>
                                                                                            </td>
                                                                                            <td colspan="2">
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td width="150px" valign="top" class="font-label">
                                                                                                หมายเหตุ :
                                                                                            </td>
                                                                                            <td colspan="2">
                                                                                                <asp:TextBox ID="txtDescr" runat="server" CssClass="TextBox" Width="700px" Height="60px"></asp:TextBox>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </div>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <table width="98%">
                                                        <tr>
                                                            <td height="5px">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <fieldset class="font-label">
                                                                    <legend>รายละเอียดด้านสถานที่</legend>
                                                                    <table width="98%" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table width="98%"  cellpadding="0" cellspacing="0">
                                                                                    <tr>
                                                                                        <td width="20px">
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr>
                                                                                                        <td width="150px" valign="top" class="font-label">
                                                                                                            สถานที่จำหน่ายเอกสาร :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <asp:TextBox CssClass="TextBox" ID="txtPlaceReceive" runat="server" Width="700px"></asp:TextBox>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr>
                                                                                                        <td width="150px" valign="top" class="font-label">
                                                                                                            สถานที่ยื่นซอง :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <asp:TextBox CssClass="TextBox" ID="txtPlaceOffer" runat="server" Width="700px"></asp:TextBox>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </fieldset>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <table width="98%">
                                                        <tr>
                                                            <td height="5px">
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <fieldset class="font-label">
                                                                    <legend>รายละเอียดด้านวันและเวลา</legend>
                                                                    <table width="98%" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td>
                                                                                <table width="98%" cellpadding="0" cellspacing="0">
                                                                                    <tr>
                                                                                        <td width="20px">
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr>
                                                                                                        <td width="150px" valign="top" class="font-label">
                                                                                                            กำหนดลงนามประกาศ :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateAnnounce" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipAnnounce" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton2" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarAnnounce" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateAnnounceClick" OnCalendarViewChanged="OnCalendarAnnounceViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <asp:Panel ID="panelValAnnounce" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr class="font-label">
                                                                                                        <td width="150px" valign="top">
                                                                                                            กำหนดจำหน่ายเอกสาร :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateReceiveStart" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton3" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipReceiveStart" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton3" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarReceiveStart" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateReceiveStartClick" OnCalendarViewChanged="OnCalendarReceiveStartViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                            ถึง :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateReceiveEnd" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton4" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipReceiveEnd" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton4" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarReceiveEnd" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateReceiveEndClick" OnCalendarViewChanged="OnCalendarReceiveEndViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                            ตั้งแต่เวลา :
                                                                                                        </td>
                                                                                                        <td width="50px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeReceiveStart" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                            ถึง :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeReceiveEnd" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td colspan="9">
                                                                                                            <asp:Panel ID="panelValReceive" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr class="font-label">
                                                                                                        <td width="150px" valign="top">
                                                                                                            กำหนดดูสถานที่(ถ้ามี) :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateBuild" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton5" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipBuild" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton5" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarBuild" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateBuildClick" OnCalendarViewChanged="OnCalendarBuildViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                            ตั้งแต่เวลา :
                                                                                                        </td>
                                                                                                        <td width="50px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeBuildStart" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                            ถึง :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeBuildEnd" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td colspan="9">
                                                                                                            <asp:Panel ID="panelValBuild" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr class="font-label">
                                                                                                        <td width="150px" valign="top">
                                                                                                            กำหนดชี้แจงรายละเอียด(ถ้ามี) :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateExplain" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton6" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipExplain" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton6" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarExplain" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateExplainClick" OnCalendarViewChanged="OnCalendarExplainViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                            ตั้งแต่เวลา :
                                                                                                        </td>
                                                                                                        <td width="50px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeExplain" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                        <td colspan="2">
                                                                                                            เป็นต้นไป
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td colspan="9">
                                                                                                            <asp:Panel ID="panelValExplain" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr class="font-label">
                                                                                                        <td width="150px" valign="top">
                                                                                                            กำหนดยื่นซอง :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateOfferStart" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton7" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipOfferStart" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton7" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarOfferStart" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateOfferStartClick" OnCalendarViewChanged="OnCalendarOfferStartViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                            ถึง :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateOfferEnd" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton8" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipOfferEnd" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton8" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarOfferEnd" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateOfferEndClick" OnCalendarViewChanged="OnCalendarOfferEndViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                            ตั้งแต่เวลา :
                                                                                                        </td>
                                                                                                        <td width="50px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeOfferStart" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                            ถึง :
                                                                                                        </td>
                                                                                                        <td>
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeOfferEnd" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td colspan="9">
                                                                                                            <asp:Panel ID="panelValOffer" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td>
                                                                                        </td>
                                                                                        <td>
                                                                                            <div class="formList-detail">
                                                                                                <table width="100%">
                                                                                                    <tr class="font-label">
                                                                                                        <td width="150px" valign="top">
                                                                                                            กำหนดเปิดซอง/เสนอราคา :
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtDateDisclose" runat="server" Mask=" ##/##/####" Width="75px" TextWithLiterals=" //" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                            <asp:LinkButton ID="LinkButton9" runat="server" CssClass="LinkButton">
                                                                                                                <img alt="" src="../Image/Icon/Calendar.gif" style="border:0px;vertical-align:middle;" />
                                                                                                            </asp:LinkButton>
                                                                                                            <telerik:RadToolTip ID="ToolTipDisclose" runat="server" Animation="None" HideEvent="LeaveToolTip" Position="MiddleRight" ShowEvent="OnClick" Skin="Telerik" 
                                                                                                            TargetControlID="LinkButton9" Modal="true">
                                                                                                                <telerik:RadCalendar id="CalendarDisclose" runat="server" TitleFormat="MMMM yyyy" EnableMultiSelect="false" UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" DayCellToolTipFormat="dddd, dd MMMM, yyyy" NavigationPrevToolTip="เดือนก่อนหน้า" NavigationNextToolTip="เดือนถัดไป" FastNavigationNextToolTip="3 เดือนถัดไป" FastNavigationPrevToolTip="3 เดือนก่อนหน้า">
                                                                                                                    <ClientEvents OnDateClick="OnDateDiscloseClick" OnCalendarViewChanged="OnCalendarDiscloseViewChanged"></ClientEvents>
                                                                                                                    <FastNavigationSettings EnableTodayButtonSelection="true" TodayButtonCaption="ไปที่วันนี้" OkButtonCaption="เปลี่ยน" CancelButtonCaption="ยกเลิก" />
                                                                                                                </telerik:RadCalendar>
                                                                                                            </telerik:RadToolTip>
                                                                                                        </td>
                                                                                                        <td width="30px">
                                                                                                        </td>
                                                                                                        <td width="120px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                        </td>
                                                                                                        <td width="60px">
                                                                                                            ตั้งแต่เวลา :
                                                                                                        </td>
                                                                                                        <td width="50px">
                                                                                                            <telerik:RadMaskedTextBox ID="txtTimeDisclose" runat="server" Mask=" ##:##" Width="35px" TextWithLiterals=" :" SelectionOnFocus="SelectAll"></telerik:RadMaskedTextBox>
                                                                                                        </td>
                                                                                                        <td colspan="2">
                                                                                                            เป็นต้นไป
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                    <tr class="font-label">
                                                                                                        <td>
                                                                                                        </td>
                                                                                                        <td colspan="9">
                                                                                                            <asp:Panel ID="panelValDisclose" runat="server"></asp:Panel>
                                                                                                        </td>
                                                                                                    </tr>
                                                                                                </table>
                                                                                            </div>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </fieldset>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelTool_Detail" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table width="98%">
                                                        <tr class="command-list">
                                                            <td align="left">
                                                                <asp:LinkButton ID="backButton_Detail" runat="server" CausesValidation="false" OnClick="backButton_Detail_Click"> 
                                                                    <img alt="" src="../Image/Button/back_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td align="right">
                                                                <asp:LinkButton ID="nextButton_Detail" runat="server" CausesValidation="false" OnClick="nextButton_Detail_Click"> 
                                                                    <img alt="" src="../Image/Button/next_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>               
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView3" runat="server">
                        <asp:Panel ID="panel_Committee" runat="server">
                            <table style="width: 98%;" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelCommand_Committee" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table cellpadding="0" cellspacing="0">
                                                        <tr class="command-list">
                                                            <td class="command-item" style="border: none">
                                                                <asp:LinkButton ID="ShowGrid_Committee" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="ShowGrid_Committee_Click"> 
                                                                    <img alt="" src="../Image/Grid/table.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;แสดงข้อมูลทั้งหมด 
                                                                </asp:LinkButton>                        
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNew_Committee" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="AddNew_Committee_Click"> 
                                                                    <img alt="" src="../Image/Grid/AddRecord.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;เพิ่มข้อมูลใหม่ 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_Committee" runat="server" CssClass="LinkButton" OnClientClick="javascript:return confirm('ยืนยันการลบรายการที่เลือก')" OnClick="Delete_Committee_Click">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;ลบข้อมูล
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_Reason_Committee" runat="server" CssClass="LinkButton">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Delete.gif" />&nbsp;&nbsp;คัดออก
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNewSave_Committee" runat="server" CssClass="LinkButton" OnClick="AddNewSave_Committee_Click" Visible="false"> 
                                                                    <img alt="" src="../Image/Grid/Cmd_Save.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;บันทึกข้อมูล 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="History_Committee" runat="server" CssClass="LinkButton" Visible="true" CausesValidation="false">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cancel.gif" />&nbsp;&nbsp;ประวัติการแต่งตั้งคณะกรรมการ
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <telerik:RadToolTip runat="server" ID="TipDelete" Width="400px" Height="120px" TargetControlID="Delete_Reason_Committee" ShowEvent="OnClick"
                                        IsClientID="false" Animation="Fade" Position="BottomRight" Skin="Default" Modal="true" ManualClose="true">
                                            <table width="100%">
                                                <tr>
                                                    <td>
                                                        <table width="98%" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td width="20px">
                                                                </td>
                                                                <td>
                                                                    <table>
                                                                        <tr>
                                                                            <td width="100px" valign="top">
                                                                                สาเหตุที่คัดออก :
                                                                            </td>
                                                                            <td>
                                                                                <telerik:RadTextBox ID="txtDeleteReason" runat="server" Skin="Outlook" Width="200" TextMode="MultiLine" Height="100"></telerik:RadTextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" align="center">
                                                                    <asp:Button ID="btnDelete_Committee" runat="server" Text="คัดออก" Width="100px" OnClick="btnDelete_Committee_Click" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </telerik:RadToolTip>    
                                    </td>
                                </tr>
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelData_Committee" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <asp:Panel ID="panel3" runat="server">
                                                        <div class="header-grid">
                                                            <asp:Label ID="Label6" runat="server" Text="ข้อมูลรายชื่อคณะกรรมการ"></asp:Label>
                                                        </div>
                                                    </asp:Panel>
                                                    <asp:Panel ID="panelList_Committee" runat="server" CssClass="panelList" ScrollBars="Auto" Visible="false">
                                                        <table width="98%">
                                                            <tr>
                                                                <td>
                                                                    <table cellpadding="0" cellspacing="0" width="98%">
                                                                        <tr>
                                                                            <td width="30px">
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td valign="top" width="150px">
                                                                                                ชุดที่ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <telerik:RadNumericTextBox ID="txtCommitteeRefno" runat="server" 
                                                                                                    NumberFormat-DecimalDigits="0" Skin="Outlook" Width="50px">
                                                                                                </telerik:RadNumericTextBox> 
                                                                                                &#160;<label id="Label12" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelValtxtCommitteeRefno" runat="server">
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td valign="top" width="150px">
                                                                                                ประเภทกรรมการ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:RadioButtonList ID="rblCommitteeType" runat="server" AutoPostBack="true" 
                                                                                                    CausesValidation="false" 
                                                                                                    OnSelectedIndexChanged="rblCommitteeType_SelectedIndexChanged" 
                                                                                                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                                                                    <asp:ListItem Selected="True" Text="บุคคลภายใน" Value="1"></asp:ListItem>
                                                                                                    <asp:ListItem Text="บุคคลภายนอก" Value="2"></asp:ListItem>
                                                                                                </asp:RadioButtonList>
                                                                                                &#160;<label id="Label13" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <asp:Panel ID="panelInternal" runat="server" Visible="true">
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td valign="top" width="150px">
                                                                                                    ชื่อกรรมการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <telerik:RadComboBox ID="cbCommitteeInternalName" runat="server" 
                                                                                                        AllowCustomText="true" EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." 
                                                                                                        EnableLoadOnDemand="true" EnableVirtualScrolling="true" Height="230px" 
                                                                                                        HighlightTemplatedItems="true" MarkFirstMatch="false" 
                                                                                                        OnClientTextChange="onTextChangeGeneral" 
                                                                                                        OnItemsRequested="cbCommitteeInternalName_ItemsRequested" 
                                                                                                        ShowDropDownOnTextboxClick="true" ShowMoreResultsBox="true" Width="740px">
                                                                                                        <HeaderTemplate>
                                                                                                            <table cellpadding="0" cellspacing="0" class="font-label">
                                                                                                                <tr>
                                                                                                                    <td align="center" width="200px"><b>หน่วยงาน</b></td>
                                                                                                                    <td align="center" width="150px"><b>ชื่อ-สกุล</b></td>
                                                                                                                    <td align="center" width="150px"><b>ตำแหน่ง</b></td>
                                                                                                                    <td align="center" width="190px"><b>ระดับ</b></td>
                                                                                                                </tr>
                                                                                                            </table>
                                                                                                        </HeaderTemplate>
                                                                                                        <ItemTemplate>
                                                                                                            <asp:Table ID="tableCommmitteeInternalName" runat="server" CellPadding="0" 
                                                                                                                CellSpacing="0" CssClass="font-label">
                                                                                                            </asp:Table>
                                                                                                        </ItemTemplate>
                                                                                                    </telerik:RadComboBox>
                                                                                                    &#160;<label id="Label14" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValcbCommitteeInternalName" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </asp:Panel>
                                                                        <asp:Panel ID="panelExternal" runat="server" Visible="false">
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td valign="top" width="150px">
                                                                                                    ชื่อกรรมการ :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtCommitteeExternalName" runat="server" CssClass="TextBox" 
                                                                                                        Width="350px"></asp:TextBox>
                                                                                                    &#160;<label id="Label15" runat="server"><font color="red">*</font></label>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="panelValtxtCommitteeExternalName" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <div class="formList-detail">
                                                                                        <table>
                                                                                            <tr>
                                                                                                <td valign="top" width="150px">
                                                                                                    รายละเอียด :
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:TextBox ID="txtCommitteeExternalDescr" runat="server" CssClass="TextBox" 
                                                                                                        Height="50px" TextMode="MultiLine" Width="350px"></asp:TextBox>
                                                                                                </td>
                                                                                            </tr>
                                                                                            <tr>
                                                                                                <td>
                                                                                                </td>
                                                                                                <td>
                                                                                                    <asp:Panel ID="ValtxtCommitteeExternalDescr" runat="server">
                                                                                                    </asp:Panel>
                                                                                                </td>
                                                                                            </tr>
                                                                                        </table>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                        </asp:Panel>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td valign="top" width="150px">
                                                                                                ตำแหน่งกรรมการ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <telerik:RadComboBox ID="cbCommitteePosition" runat="server" 
                                                                                                    AllowCustomText="true" CssClass="RadComboBox" DataTextField="Name" 
                                                                                                    DataValueField="Seq" EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." 
                                                                                                    Filter="Contains" LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                    OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true">
                                                                                                </telerik:RadComboBox>
                                                                                                &#160;<label id="Label16" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelValcbCommitteePosition" runat="server">
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                            </td>
                                                                            <td>
                                                                                <div class="formList-detail">
                                                                                    <table>
                                                                                        <tr>
                                                                                            <td valign="top" width="150px">
                                                                                                หน้าที่กรรมการ :
                                                                                            </td>
                                                                                            <td>
                                                                                                <telerik:RadComboBox ID="cbCommitteeFunction" runat="server" 
                                                                                                    AllowCustomText="true" CssClass="RadComboBox" DataTextField="Name" 
                                                                                                    DataValueField="Seq" EmptyMessage=".. พิมพ์ที่นี่เพื่อช่วยค้นหา .." 
                                                                                                    Filter="Contains" LoadingMessage="กำลังโหลดข้อมูล ..." MarkFirstMatch="false" 
                                                                                                    OnClientTextChange="onTextChangeGeneral" ShowDropDownOnTextboxClick="true" 
                                                                                                    Width="250px">
                                                                                                </telerik:RadComboBox>
                                                                                                &#160;<label id="Label17" runat="server"><font color="red">*</font></label>
                                                                                            </td>
                                                                                        </tr>
                                                                                        <tr>
                                                                                            <td>
                                                                                            </td>
                                                                                            <td>
                                                                                                <asp:Panel ID="panelValcbCommitteeFunction" runat="server">
                                                                                                </asp:Panel>
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                    <asp:Panel CssClass="panelGrid" ID="panelGrid_Committee" runat="server" ScrollBars="Auto">
                                                        <div align="Left">
                                                            <telerik:RadGrid CssClass="RadGrid" ID="Grid_Committee" runat="server" AllowFilteringByColumn="true"
                                                            AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True"
                                                            AutoGenerateColumns="False" EnableAJAX="True"
                                                            GridLines="None" ShowStatusBar="false" Skin="Outlook" Width="95%"
                                                            OnItemCommand="Grid_Committee_ItemCommand" OnItemDataBound="Grid_Committee_ItemDataBound">
                                                                <MasterTableView GroupLoadMode="Client" DataKeyNames="Seq" ClientDataKeyNames="Seq" AllowMultiColumnSorting="true" Width="100%" NoMasterRecordsText="<div align=center><font color=gray><i>ไม่มีข้อมูล</i></font></div>">
                                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                    <Columns>
                                                                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="10px" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                        </telerik:GridClientSelectColumn>
                                                                        <telerik:GridTemplateColumn HeaderText="คัดเลือก" ShowFilterIcon="false" AllowFiltering="false" UniqueName="Image" FilterControlWidth="100%">  
                                                                            <ItemTemplate>  
                                                                                <asp:Image ID="Image1" runat="server" />  
                                                                            </ItemTemplate>
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                        </telerik:GridTemplateColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoFunction.Name"
                                                                            GroupByExpression="InfoFunction.Name Group By InfoFunction.Seq" Groupable="true" Visible="false"
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%" HeaderText="หน้าที่"
                                                                            UniqueName="InfoFunction.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ref_no"
                                                                            GroupByExpression="Ref_no Group By Ref_no" Groupable="true" Visible="false"
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%" HeaderText="ชุดที่" 
                                                                            UniqueName="Ref_no">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoPosition.Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ตำแหน่ง" 
                                                                            UniqueName="InfoPosition.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoType.Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ประเภท" 
                                                                            UniqueName="InfoType.Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Name" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="ชื่อกรรมการ" 
                                                                            UniqueName="Name">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="150px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Descr" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="รายละเอียด" 
                                                                            UniqueName="Descr">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="DeleteReason" 
                                                                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false"
                                                                            FilterControlWidth="100%"
                                                                            HeaderStyle-HorizontalAlign="Center" HeaderText="สาเหตุที่คัดออก" 
                                                                            UniqueName="DeleteReason">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="120px" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Com_type" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Com_type" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoEmployee.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoEmployee.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ex_name" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Ex_name" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Ex_descr" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Ex_descr" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoFunction.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoFunction.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoPosition.Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoPosition.Seq" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Seq" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Seq" 
                                                                            Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="InfoRecord.InfoStatus.Status" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="InfoRecord.InfoStatus.Status" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </MasterTableView>
                                                                <ClientSettings EnableRowHoverStyle="true" >
                                                                    <Selecting AllowRowSelect="True" />
                                                                </ClientSettings>
                                                            </telerik:RadGrid>
                                                        </div>
                                                        <br />
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelTool_Committee" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table width="100%">
                                                        <tr class="command-list">
                                                            <td align="left">
                                                                <asp:LinkButton ID="backButton_Committee" runat="server" OnClick="backButton_Committee_Click"> 
                                                                    <img alt="" src="../Image/Button/back_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td align="right">
                                                                <asp:LinkButton ID="nextButton_Committee" runat="server" OnClick="nextButton_Committee_Click"> 
                                                                    <img alt="" src="../Image/Button/next_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <telerik:RadToolTip ID="tipCommitteeHistory" runat="server" Width="500px" Height="300px" ManualClose="True" Modal="true" Position="BottomCenter" ShowEvent="OnClick" TargetControlID="History_Committee" Skin="Default" OnClientBeforeShow="ShowCommitteeHistory">
                            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" OnAjaxRequest="OnAjaxRequest">
                            </telerik:RadAjaxPanel>
                        </telerik:RadToolTip>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="RadPageView4" runat="server">
                        <asp:Panel ID="panel_File" runat="server">
                            <table cellpadding="0" cellspacing="0" style="width: 98%;">
                                <tr valign="top">
                                    <td valign="top">
                                        <asp:Panel ID="panelCommand_File" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table>
                                                        <tr class="command-list">
                                                            <td class="command-item" style="border: none">
                                                                <asp:LinkButton ID="ShowGrid_File" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="ShowGrid_File_Click"> 
                                                                    <img alt="" src="../Image/Grid/table.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;แสดงข้อมูลทั้งหมด 
                                                                </asp:LinkButton>                        
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNew_File" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="AddNew_File_Click"> 
                                                                    <img alt="" src="../Image/Grid/AddRecord.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;เพิ่มข้อมูลใหม่ 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="AddNewSave_File" runat="server" CssClass="LinkButton" OnClick="AddNewSave_File_Click" Visible="false"> 
                                                                    <img alt="" src="../Image/Grid/Cmd_Save.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;บันทึกข้อมูล 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="Delete_File" runat="server" CausesValidation="false" CssClass="LinkButton" OnClick="Delete_File_Click" OnClientClick="javascript:return confirm('ยืนยันการลบข้อมูลที่เลือก')"> 
                                                                    <img alt="" src="../Image/Grid/Delete.gif" style="border:0px;vertical-align:middle;" />
                                                                    &#160;&#160;ลบข้อมูล 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td class="command-item">
                                                                <asp:LinkButton ID="History_File" runat="server" CssClass="LinkButton" Visible="true">
                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Image/Grid/Cmd_Save.gif" />&nbsp;&nbsp;เอกสารแนบที่เกี่ยวข้อง
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel ID="panelData_File" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <asp:Panel ID="panelHeaderList4" runat="server">
                                                        <div class="header-grid">
                                                            <asp:Label ID="Label9" runat="server" Text="ข้อมูลเอกสารแนบ"></asp:Label>
                                                        </div>
                                                    </asp:Panel>
                                                    <asp:Panel ID="panelList_File" runat="server" CssClass="panelList" 
                                                        ScrollBars="Auto" Visible="false">
                                                        <table cellpadding="0" cellspacing="0" width="98%">
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <div class="formList-detail">
                                                                        <table>
                                                                            <tr>
                                                                                <td valign="top" width="100px">
                                                                                    ชื่อไฟล์ :
                                                                                </td>
                                                                                <td>
                                                                                    <asp:TextBox ID="txtFileName" runat="server" Width="650px"></asp:TextBox>
                                                                                    &nbsp;<label id="Label18" runat="server"><font color="red">*</font></label>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="panelValtxtFileName" runat="server">
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td width="30px">
                                                                </td>
                                                                <td>
                                                                    <div class="formList-detail">
                                                                        <table>
                                                                            <tr>
                                                                                <td valign="top" width="100px">
                                                                                    ที่อยู่ไฟล์ :
                                                                                </td>
                                                                                <td>
                                                                                    <div id="uploadFile_div" runat="server">
                                                                                        <input id="attachment" runat="server" name="attachment" 
                                                                                            onchange="getSourceFile();" onkeydown="return false;" size="90" type="file" />
                                                                                        &nbsp;<label id="Label19" runat="server"><font color="red">*</font></label>
                                                                                    </div>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>
                                                                                </td>
                                                                                <td>
                                                                                    <asp:Panel ID="panelValattachment" runat="server">
                                                                                    </asp:Panel>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                    <asp:Panel ID="panelGrid_File" runat="server" CssClass="panelGrid" 
                                                        ScrollBars="Auto">
                                                        <div align="left">
                                                            <telerik:RadGrid ID="Grid_File" runat="server" AllowFilteringByColumn="true" 
                                                                AllowMultiRowSelection="True" AllowPaging="false" AllowSorting="True" 
                                                                AutoGenerateColumns="False" CssClass="RadGrid" EnableAJAX="True" 
                                                                GridLines="None" OnItemCommand="Grid_File_ItemCommand" ShowStatusBar="false" 
                                                                Skin="Outlook" Width="95%">
                                                                <mastertableview allowmulticolumnsorting="true" grouploadmode="Client" 
                                                                nomasterrecordstext="&lt;div align=center&gt;&lt;font color=gray&gt;&lt;i&gt;ไม่มีข้อมูล&lt;/i&gt;&lt;/font&gt;&lt;/div&gt;" 
                                                                width="100%">
                                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                                                    <Columns>
                                                                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="20px" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                        </telerik:GridClientSelectColumn>
                                                                        <telerik:GridTemplateColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="Name" FilterControlWidth="100%" 
                                                                            HeaderText="ชื่อไฟล์" ShowFilterIcon="false" SortExpression="Name" 
                                                                            UniqueName="Name">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                            <ItemStyle HorizontalAlign="Left" />
                                                                            <ItemTemplate>
                                                                                <asp:HyperLink ID="lkName" runat="server" 
                                                                                    NavigateUrl='<%# "../Form/Sys_File_Form.aspx?file=" + Eval("Dest_path") %>' 
                                                                                    Target="_blank" Text='<%# Eval("Name") %>'></asp:HyperLink>
                                                                            </ItemTemplate>
                                                                        </telerik:GridTemplateColumn>
                                                                        <telerik:GridBoundColumn AutoPostBackOnFilter="true" 
                                                                            CurrentFilterFunction="Contains" DataField="File_Info.Extension" 
                                                                            FilterControlWidth="100%" HeaderStyle-HorizontalAlign="Center" 
                                                                            HeaderText="นามสกุลไฟล์" ShowFilterIcon="false" UniqueName="FileInfo.Extension">
                                                                            <HeaderStyle HorizontalAlign="Center" Width="100px" />
                                                                            <ItemStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn DataField="Dest_path" 
                                                                            HeaderStyle-HorizontalAlign="Center" UniqueName="Dest_path" Visible="false">
                                                                            <HeaderStyle HorizontalAlign="Center" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </mastertableview>
                                                                <clientsettings enablerowhoverstyle="true">
                                                                    <selecting allowrowselect="True" />
                                                                </clientsettings>
                                                            </telerik:RadGrid>
                                                        </div>
                                                        <br />
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <asp:Panel ID="panelTool_File" runat="server">
                                            <div class="bigModuleFull">
                                                <div class="bigModuleBottomFull">
                                                    <table width="100%">
                                                        <tr class="command-list">
                                                            <td align="left">
                                                                <asp:LinkButton ID="backButton_File" runat="server" OnClick="backButton_File_Click"> 
                                                                    <img alt="" src="../Image/Button/back_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                            <td align="right">
                                                                <asp:LinkButton ID="finishButton_File" runat="server" OnClick="finishButton_File_Click" OnClientClick="javascript:return confirm('ยืนยันการบันทึกข้อมูล');"> 
                                                                    <img alt="" src="../Image/Button/finish_button.png" style="border:0px;vertical-align:middle;" /> 
                                                                </asp:LinkButton>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </div>
                                            </div>        
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <telerik:RadToolTip ID="TipFileHistory" runat="server" Width="500px" Height="300px" ManualClose="True" Modal="true" Position="BottomCenter" ShowEvent="OnClick" TargetControlID="History_File" Skin="Default" OnClientBeforeShow="ShowFileHistory">
                            <telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" OnAjaxRequest="OnAjaxRequestFile">
                            </telerik:RadAjaxPanel>
                        </telerik:RadToolTip>
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
            </div>
        </asp:Panel>
    </form>
</body>
</html>


